//
//  MusicModel.swift
//  groupTasks
//
//  Created by 向银泉 on 16/11/1.
//  Copyright © 2016年 向银泉. All rights reserved.
//

import UIKit

class MusicModel: NSObject,YYModel {
    var albumImg = ""
    var artistName = ""
    var detail = ""
    var hdUrl = ""
    var id = ""
    var playListPic = ""
    var posterPic = ""
    var regdate = ""
    var thumbnailPic = ""
    var title = ""
    var totalComments = ""
    var totalViews = ""
    var uhdUrl = ""
    var url = ""
    var artists: NSArray? = nil
    static func modelCustomPropertyMapper() -> [NSObject : AnyObject]! {
        return ["detail":"description"]
    }
    static func modelContainerPropertyGenericClass() -> [NSObject : AnyObject]! {
        return ["artists":artistsModel.self]
    }
    
}
class artistsModel: NSObject,YYModel {
    var artistId = ""
    var artistName = ""
}